Matthias Clasen [Mon, 2 Nov 2015 17:53:57 +0000 (12:53 -0500)]
popover: Document differentiating style classes
There's a lot of popover variations out there.
Matthias Clasen [Mon, 2 Nov 2015 17:51:00 +0000 (12:51 -0500)]
button: Mention differentiating style classes
There's a lot of button variations out there, lets document
the ones we know about.
Matthias Clasen [Mon, 2 Nov 2015 17:47:14 +0000 (12:47 -0500)]
HighContrast: Update magnifier styling
Adapt to changes in the previous commit.
Matthias Clasen [Mon, 2 Nov 2015 17:46:45 +0000 (12:46 -0500)]
Adwaita: Update magnifier styling
Adapt to changes in the previous commit.
Matthias Clasen [Mon, 2 Nov 2015 17:40:38 +0000 (12:40 -0500)]
entry, textview: Use a dedicated style class for magnifier
This will free up "osd" as an application-level style class,
and lets us style magnifiers differently.
Matthias Clasen [Mon, 2 Nov 2015 17:27:36 +0000 (12:27 -0500)]
file chooser button: Add a style class
Unfortunately, GtkFileChooserButton is different from the other
pickers in that it is not a button, but rather has a button.
We ignore the difference for styling purposes, and just add
a .file style class to the button.
Matthias Clasen [Mon, 2 Nov 2015 17:21:39 +0000 (12:21 -0500)]
Adwaita: Fix menu separators
These were inadvertedly broken by the element name conversion
for regular separators.
Cemil Azizoglu [Thu, 15 Oct 2015 17:11:36 +0000 (12:11 -0500)]
mir: Print hscroll and vscroll values when debugging.
Signed-off-by: William Hua <william.hua@canonical.com>
Benjamin Otte [Sun, 1 Nov 2015 15:45:11 +0000 (16:45 +0100)]
inspector: Track updates of node styles
When the CSS style of a node changes, we want to display the new values
in the inspector.
This for example allows to see how styles update on hover or during
animations.
Colomban Wendling [Sat, 31 Oct 2015 22:02:36 +0000 (23:02 +0100)]
cssnode: Fix style updating when the CSS node ID changes
Since
4ebb5781eaf332da3f8ce5ffb5ecc8668a56f118 ID has a specific value,
while it used to be the same as NAME. Thus, explicitly list ID as a
radical change just like NAME.
https://bugzilla.gnome.org/show_bug.cgi?id=757397
Colomban Wendling [Sun, 1 Nov 2015 01:31:53 +0000 (02:31 +0100)]
cssnode: Fix a typo leading to very poor cache hashing
Colomban Wendling [Sun, 1 Nov 2015 01:35:09 +0000 (02:35 +0100)]
gtkcontainer: Guard internal use of deprecated public API
Benjamin Otte [Sun, 1 Nov 2015 01:34:41 +0000 (02:34 +0100)]
inspector: Store the current node in the priv struct
Benjamin Otte [Sat, 31 Oct 2015 16:14:14 +0000 (17:14 +0100)]
inspector: Split out a function
Matthias Clasen [Sun, 1 Nov 2015 01:02:36 +0000 (21:02 -0400)]
toolpalette: Use element names
Give the GtkToolPalette and GtkToolItemGroup the element
names toolpalette and toolitemgroup.
Matthias Clasen [Sun, 1 Nov 2015 00:55:51 +0000 (20:55 -0400)]
HighContrast: Update toolbutton styling
Matthias Clasen [Sun, 1 Nov 2015 00:52:41 +0000 (20:52 -0400)]
Adwaita: Update tool button styling
Matthias Clasen [Sun, 1 Nov 2015 00:52:09 +0000 (20:52 -0400)]
tool button: Add an element name
Unsurprisingly, it is toolbutton.
Matthias Clasen [Sun, 1 Nov 2015 00:43:07 +0000 (20:43 -0400)]
HighContrast: Update toolbar styling
Adapt to the changes in the previous commit.
Matthias Clasen [Sun, 1 Nov 2015 00:42:41 +0000 (20:42 -0400)]
Adwaita: Update toolbar styling
Adapt to the changes in the previous commit.
Matthias Clasen [Sun, 1 Nov 2015 00:30:56 +0000 (20:30 -0400)]
toolbar: Use an element name instead of a style class
The element name is ... toolbar.
Matthias Clasen [Sun, 1 Nov 2015 00:30:03 +0000 (20:30 -0400)]
progress bar: Add CSS documentation
Matthias Clasen [Sun, 1 Nov 2015 00:24:46 +0000 (20:24 -0400)]
HighContrast: Update progressbar styling
Adapt to the changes in the previous commit.
Matthias Clasen [Sun, 1 Nov 2015 00:24:19 +0000 (20:24 -0400)]
Adwaita: Update progressbar styling
Adapt to the changes in the previous commit.
Matthias Clasen [Sun, 1 Nov 2015 00:20:13 +0000 (20:20 -0400)]
progressbar: Convert to CSS nodes
Use the element names progressbar and progress.
Matthias Clasen [Sat, 31 Oct 2015 23:23:47 +0000 (19:23 -0400)]
trivial formatting fix
Matthias Clasen [Sat, 31 Oct 2015 23:19:53 +0000 (19:19 -0400)]
Remove a duplicate include
Matthias Clasen [Sat, 31 Oct 2015 23:13:32 +0000 (19:13 -0400)]
Adwaita: Fix up color button styling
There was one forgotten instance of the GtkColorSwatch type name.
Matthias Clasen [Sat, 31 Oct 2015 23:11:18 +0000 (19:11 -0400)]
HighContrast: Update the frame styling
Adapt to the changes in the previous commit.
Matthias Clasen [Sat, 31 Oct 2015 23:10:52 +0000 (19:10 -0400)]
Adwaita: Update frame styling
Adapt to the changes in the previous commit.
Matthias Clasen [Sat, 31 Oct 2015 23:09:46 +0000 (19:09 -0400)]
frame: Use an element name instead of a style class
Unsurprisingly, the element name is ... frame.
Matthias Clasen [Sat, 31 Oct 2015 22:13:29 +0000 (18:13 -0400)]
Load settings.ini from all data dirs
An error in the loading function was making us load the file from
the first data dir repeatedly, instead.
https://bugzilla.gnome.org/show_bug.cgi?id=757377
Paolo Borelli [Thu, 29 Oct 2015 16:20:54 +0000 (17:20 +0100)]
win32: handle WM_DISPLAYCHANGE globally
Instead of handling WM_DISPLAYCHANGE on every GdkWindow, only handle
it on an ad-hoc hidden window we create when opening the display.
This has two reasons:
1) we want emit the display::size-changed signal even if there are no
gtk windows currently open
2) we want to emit the signal just once and not once for every window
https://bugzilla.gnome.org/show_bug.cgi?id=757324
Matthias Clasen [Sat, 31 Oct 2015 04:08:00 +0000 (00:08 -0400)]
model button: Propagate state
Propagate the state to the CSS node for the indicator.
Matthias Clasen [Sat, 31 Oct 2015 04:07:19 +0000 (00:07 -0400)]
inspector: Show CSS node state
This is useful when debugging state propagation issues between
CSS nodes.
Matthias Clasen [Sat, 31 Oct 2015 03:49:44 +0000 (23:49 -0400)]
HighContrast: adjust message dialog styling
Matthias Clasen [Sat, 31 Oct 2015 03:49:17 +0000 (23:49 -0400)]
adwaita: Adjust message dialog styling
Matthias Clasen [Sat, 31 Oct 2015 03:48:46 +0000 (23:48 -0400)]
message dialog: Use an element name
Matthias Clasen [Sat, 31 Oct 2015 02:16:18 +0000 (22:16 -0400)]
color editor: Redo the non-activatable color swatch
Use a .activatable style class on the color swatch and tie the
hover effect to it. The color editor simply removes this class
now to get an inert color swatch.
This is more flexible and lets us avoid referring to the
GtkColorEditor type in the theme.
Matthias Clasen [Sat, 31 Oct 2015 01:46:36 +0000 (21:46 -0400)]
HighContrast: Adapt to color swatch changes
This needs more work and simplification.
Matthias Clasen [Sat, 31 Oct 2015 01:44:19 +0000 (21:44 -0400)]
Adwaita: Adapt to color swatch changes
This needs more work and simplification.
Matthias Clasen [Sat, 31 Oct 2015 01:43:50 +0000 (21:43 -0400)]
swatch fixup
Matthias Clasen [Sat, 31 Oct 2015 01:29:46 +0000 (21:29 -0400)]
color swatch: Convert to CSS nodes
Convert GtkColorSwatch to use the two elements colorswatch and
image.
Matthias Clasen [Sat, 31 Oct 2015 01:00:01 +0000 (21:00 -0400)]
text view: Add css node docs
Matthias Clasen [Fri, 30 Oct 2015 23:58:11 +0000 (19:58 -0400)]
HighContrast: Update textview styling
Some updates to make text appear as usual.
Matthias Clasen [Fri, 30 Oct 2015 23:55:42 +0000 (19:55 -0400)]
Adwaita: Update textview styling
Some updates to make text appear as usual. The border windows
probably need some more work.
Matthias Clasen [Fri, 30 Oct 2015 23:49:02 +0000 (19:49 -0400)]
text view: Convert to CSS nodes
Use subnodes for the border windows, and add children to the right
subnodes.
Matthias Clasen [Fri, 30 Oct 2015 22:11:13 +0000 (18:11 -0400)]
text view: Set an element name
And it will be...drumroll...textview.
Matthias Clasen [Fri, 30 Oct 2015 21:44:36 +0000 (17:44 -0400)]
icon view: Add an element name
Not surprising anybody, I decided to call it iconview.
Matthias Clasen [Fri, 30 Oct 2015 21:38:04 +0000 (17:38 -0400)]
HighContrast: Adapt to changed treeview names
Matthias Clasen [Fri, 30 Oct 2015 21:37:32 +0000 (17:37 -0400)]
Adwaita: Adapt to changed treeview names
Matthias Clasen [Fri, 30 Oct 2015 21:25:43 +0000 (17:25 -0400)]
tree view: Rename and document element names
The names are now treeview and header.
Matthias Clasen [Fri, 30 Oct 2015 21:18:06 +0000 (17:18 -0400)]
HighContrast: Update font button styling
Use the new element name and style class.
Matthias Clasen [Fri, 30 Oct 2015 21:17:41 +0000 (17:17 -0400)]
Adwaita: Update font button styling
Use the new element name and style class.
Matthias Clasen [Fri, 30 Oct 2015 21:09:59 +0000 (17:09 -0400)]
font button: Add an element name
Give this GtkButton subclass element name button and style class .font.
Matthias Clasen [Fri, 30 Oct 2015 16:52:47 +0000 (12:52 -0400)]
HighContrast: Update paned styling
Adapt to the new element names.
Matthias Clasen [Fri, 30 Oct 2015 16:50:32 +0000 (12:50 -0400)]
Adwaita: Update paned styling
Adapt to the new element names in the previous commit.
This also adds back a selected state which gets used
for when the focus is placed on the separator with F8,
just so this functionality is not forgotten.
Matthias Clasen [Fri, 30 Oct 2015 16:44:24 +0000 (12:44 -0400)]
paned: Convert to CSS nodes
Add a subnode for the separator, and use it for drawing.
Piotr Drąg [Fri, 30 Oct 2015 18:52:41 +0000 (19:52 +0100)]
Updated POTFILES.in and POTFILES.skip
Matthias Clasen [Fri, 30 Oct 2015 18:51:41 +0000 (14:51 -0400)]
Update the generated css for the previous commit
Timm Bäder [Fri, 30 Oct 2015 14:08:18 +0000 (15:08 +0100)]
popover: Use element name
Pick "popover" and add .menu for popover menus
Georges Basile Stavracas Neto [Thu, 29 Oct 2015 12:14:57 +0000 (10:14 -0200)]
placesview: vertically align path labels
The current situation is somewhat sad, with the path
label totally misaligned throughout the rows.
This is fixed by using a size group for the path labels,
so they all have the same allocated size (with the max
of 15 chars). Also, instead of hiding the eject button,
set it child-invisible, so it is hidden and yet it's size
is allocated by GtkBox.
https://bugzilla.gnome.org/show_bug.cgi?id=757303
Lapo Calamandrei [Fri, 30 Oct 2015 12:17:52 +0000 (13:17 +0100)]
Adwaita: fix vertical switch styling
Lapo Calamandrei [Fri, 30 Oct 2015 11:53:44 +0000 (12:53 +0100)]
Adwaita: fix switch sizing
moving -GtkSwitch-slider-width and -GtkSwitch-slider-height from
the GtkSwitch selector to the * wildcard selector as other style
props.
Matthias Clasen [Fri, 30 Oct 2015 10:49:57 +0000 (06:49 -0400)]
inspector: Drop the style property list
Style properties are now shown for each CSS node in the
CSS node tab, so we don't need a separate per-widget tab
for this.
Matthias Clasen [Fri, 30 Oct 2015 10:37:27 +0000 (06:37 -0400)]
inspector: Drop the style classes list
Style classes can now be added/removed for each CSS node in
the CSS node tab, so we don't need a separate per-widget tab
for this.
Yosef Or Boczko [Fri, 30 Oct 2015 10:26:52 +0000 (12:26 +0200)]
Updated Hebrew translation
Matthias Clasen [Fri, 30 Oct 2015 05:21:13 +0000 (01:21 -0400)]
menu button: Revisit style class one more time
Use .popup, which is already in use elsewhere, fits better with
the other button differentiating style classes, and does not
interfere with menus.
Matthias Clasen [Fri, 30 Oct 2015 05:16:49 +0000 (01:16 -0400)]
HighContrast: Update color button styling
Adapt to the previous commit.
Matthias Clasen [Fri, 30 Oct 2015 05:16:26 +0000 (01:16 -0400)]
Adwaita: Update color button styling
Adapt to the previous commit.
Matthias Clasen [Fri, 30 Oct 2015 05:15:57 +0000 (01:15 -0400)]
color button: Add a style class
Add a .color style class to differentiate this button from the
normal ones.
Marek Černocký [Fri, 30 Oct 2015 06:12:33 +0000 (07:12 +0100)]
Updated Czech translation
Matthias Clasen [Fri, 30 Oct 2015 05:09:18 +0000 (01:09 -0400)]
HighContrast: Update headerbar styling
Adapt to the previous commit.
Matthias Clasen [Fri, 30 Oct 2015 05:08:30 +0000 (01:08 -0400)]
Adwaita: Update headerbar styling
Adapt to the previous commit.
Matthias Clasen [Fri, 30 Oct 2015 05:07:58 +0000 (01:07 -0400)]
headerbar: Use an element name instead of a style class
Use the element name headerbar.
Matthias Clasen [Fri, 30 Oct 2015 05:07:27 +0000 (01:07 -0400)]
Revisit menu button style
Change the style class to .menubutton, to avoid interference
from GtkMenu theming.
Matthias Clasen [Fri, 30 Oct 2015 04:54:37 +0000 (00:54 -0400)]
menu button: Add a style class
Add a .menu style class to differentiate menu buttons from normal
ones.
Matthias Clasen [Fri, 30 Oct 2015 04:51:13 +0000 (00:51 -0400)]
scale button: Add a style class
Add a .scale style class to differentiate scale buttons from normal
ones.
Matthias Clasen [Fri, 30 Oct 2015 04:50:48 +0000 (00:50 -0400)]
link button: Add a style class
Add a .link style class to differentiate link buttons from normal
buttons.
Matthias Clasen [Fri, 30 Oct 2015 04:38:43 +0000 (00:38 -0400)]
HighContrast: Updates for recent changes
This is bit of a grab-bag, it includes fixes for spin buttons,
entries, buttons.
Matthias Clasen [Fri, 30 Oct 2015 04:31:02 +0000 (00:31 -0400)]
Adwaita: Adapt to the button changes
The updates here cover the various button variants.
Matthias Clasen [Fri, 30 Oct 2015 04:29:47 +0000 (00:29 -0400)]
model button: Convert to CSS nodes
Follow the same approach as used for the toggle button family:
Keep the button element name for button-like rendering, and
use a distinct modelbutton name otherwise, and add a subnode
for the indicator with name check or radio.
Matthias Clasen [Fri, 30 Oct 2015 04:27:13 +0000 (00:27 -0400)]
toggle button: Convert to css nodes
Convert GtkToggleButton and its subclasses to CSS nodes.
Keep the button element name for when we want to render
these button-like (but with .toggle, .check and .radio
style classes for differentiation).
When we want to render them with an indicator, use distinct
element names checkbutton and radiobutton, and add a subnode
for the indicator with name check or radio.
Matthias Clasen [Fri, 30 Oct 2015 04:26:04 +0000 (00:26 -0400)]
lockbutton: Revisit element name
Instead of a separate element name, keep button, and just
add a .lock style class, to inherit the button theming.
Matthias Clasen [Fri, 30 Oct 2015 03:17:41 +0000 (23:17 -0400)]
Adwaita: button fixes
Matthias Clasen [Fri, 30 Oct 2015 03:04:47 +0000 (23:04 -0400)]
togglebutton: Add a style class
This lets us differentiate toggle buttons from plain buttons
with button.toggle, without having to redo all the styling.
Matthias Clasen [Fri, 30 Oct 2015 02:55:29 +0000 (22:55 -0400)]
button: Use an element name instead of a style class
Benjamin Otte [Fri, 30 Oct 2015 01:06:01 +0000 (02:06 +0100)]
widget: Queue redraw on gtk_widget_queue_allocate()
Mirror the behavior of gtk_widget_queue_resize() and always queue a
redraw. If we ever want to cause allocates without redraws we can add
gtk_widget_queue_allocate_no_redraw() then.
I had initially assumed gtk_widget_size_allocate() would take care of
queueing redraws, but it does not do that when neither size nor position
change. And that is obviously what's happening after
gtk_widget_queue_allocate().
Fixes buttons sometimes not redrawing (the record button in
widget-factory after locking it, all buttons when switching to the dark
theme).
Matthias Clasen [Thu, 29 Oct 2015 23:21:47 +0000 (19:21 -0400)]
Assistant: Fix page rmoval
We have to remove the page itself from the intermediate box
first, before removing the box from the notebook. Otherwise,
reffing the page to keep it alive is ineffective: the box
gets destroyed, and that destruction recurses over the page.
This fixes the problem in
https://bugzilla.gnome.org/show_bug.cgi?id=756385
Sébastien Granjoux [Mon, 26 Oct 2015 20:52:34 +0000 (21:52 +0100)]
Add a more complex widget in the flipping assistant
This reproduces the problem from bug
https://bugzilla.gnome.org/show_bug.cgi?id=756385
Florian Müllner [Thu, 29 Oct 2015 17:20:27 +0000 (18:20 +0100)]
Adwaita: Update double-border tweak for scrolled windows
Since commit
b6dbfc791f, GtkViewPort uses an element name.
Dominique Leuenberger [Thu, 29 Oct 2015 12:56:18 +0000 (13:56 +0100)]
placessidebar: do not crash if uris is NULL
On Drag'n'Drop actions across system boundaries (VM host to guest), the
happen to be null.
https://bugzilla.gnome.org/show_bug.cgi?id=757298
Benjamin Otte [Thu, 29 Oct 2015 15:03:15 +0000 (16:03 +0100)]
spinbutton: Don't set .entry
Also fix Adwaita to not use .entry anymore
Benjamin Otte [Thu, 29 Oct 2015 14:55:28 +0000 (15:55 +0100)]
searchentry: Fix includes
Matthias Clasen [Thu, 29 Oct 2015 11:47:31 +0000 (07:47 -0400)]
viewport: Add an element name to the css node
This lets us avoid hardcoding the type in CSS.
Matthias Clasen [Thu, 29 Oct 2015 11:43:30 +0000 (07:43 -0400)]
searchbar: Add an element name to the css node
This lets us avoid hardcoding the type in CSS.
Matthias Clasen [Thu, 29 Oct 2015 11:08:15 +0000 (07:08 -0400)]
actionbar: Add an element name to the css node
This lets us avoid hardcoding the type in CSS.
Matthias Clasen [Thu, 29 Oct 2015 11:01:57 +0000 (07:01 -0400)]
statusbar: Add an element name to the css node
This lets us avoid hardcoding the type in CSS.
Matthias Clasen [Thu, 29 Oct 2015 03:58:39 +0000 (23:58 -0400)]
search entry: Add a style class
There should be little need to have separate styling for search
entries, so a separate name would be a bit overkill.
Matthias Clasen [Thu, 29 Oct 2015 03:57:57 +0000 (23:57 -0400)]
lock button: Add an element name